<?php
require_once 'init_app.php';

set_time_limit(0); 

/*$shops = ORM::factory('shop')
			->where('irecommend_url', 'IS NOT', NULL)
			->offset(12)
			->limit(1)
			->find_all();
foreach ($shops as $shop) {
	$n = Model_ReviewParser_Irecommend::instance()->parse($shop);
	echo 'Irecommend ('.$shop->name.') - '.$n."\n";
}*/

/*$shops = ORM::factory('shop')
			->where('otzovik_url', 'IS NOT', NULL)
			->offset(9)
			->limit(1)
			->find_all();
foreach ($shops as $shop) {
	$n = Model_ReviewParser_Otzovik::instance()->parse($shop);
	echo 'Otzovik ('.$shop->name.') - '.$n."\n";
}*/

echo 'ok';







